package com.woniu.mapper;

import com.woniu.pojo.CarouselChart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 轮播图管理表 Mapper 接口
 * </p>
 *
 * @author 刘岩
 * @since 2022-10-14
 */
public interface CarouselChartMapper extends BaseMapper<CarouselChart> {

    @Select("select max(sort) from tb_carousel_chart")
    Integer selectMaxSortByCourseId();

}
